package com.lanou3g.ptp.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
@ApiModel(description = "班级")
public class Clazz implements Serializable {

    @ApiModelProperty("班级id")
    private Long id;

    @ApiModelProperty("班级名称")
    private String name;

    @ApiModelProperty("年级")
    private String grade;

    @ApiModelProperty("专业id")
    private Long majorId;

    @ApiModelProperty("班级负责人ID")
    private Long leaderId;

    @ApiModelProperty("班长ID")
    private Long monitorId;

    @ApiModelProperty(name = "状态", hidden = true)
    private Integer status;

    @ApiModelProperty(name = "创建时间", hidden = true)
    private Date createTime;

    @ApiModelProperty(name = "更新时间", hidden = true)
    private Date updateTime;

    private Long collegeId;
    private String collegeName;
    private String majorName;
    private String leaderName;
    private String monitorName;
    private Long count;
    private String parentNode;
    private Long parentId;
    private Integer level;
}
